const request = require('superagent');
const bing = require('/models/bingModel.js');

async function getImg() {
    request('http://www.bing.com/HPImageArchive.aspx?format=js&idx=0&n=10', function(err, res) {
        return res;
    })
}
async function getStory() {
    request('http://cn.bing.com/cnhp/coverstory/', function(err, res) {
        return res;
    })
}
await Promise.all([getImg(), getStory()]).then(function(result) {
    console.log(result)
})